PDF for WinRT
AddAttachment(String,Byte[],Rect) Method


Name of the attachment.
Data contained in the attachment.
Area of the page that will contain the attachment (in points measured from the top-left corner of the page).
Adds a file attachment to the current page.
Syntax
'Declaration
 
Public Overloads Sub AddAttachment( _
   ByVal fileName As String, _
   ByVal data() As Byte, _
   ByVal rc As Rect _
) 
'Usage
 
Dim instance As C1PdfDocument
Dim fileName As String
Dim data() As Byte
Dim rc As Rect
 
instance.AddAttachment(fileName, data, rc)
public void AddAttachment( 
   string fileName,
   byte[] data,
   Rect rc
)

Parameters

fileName
Name of the attachment.
data
Data contained in the attachment.
rc
Area of the page that will contain the attachment (in points measured from the top-left corner of the page).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback